package com.changpei.core.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 *
 *
 * @author Way on 2021/8/11
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun")
@ToString
public class AliYunConfig {

    /**
     * 图像识别默认区域ID
     */
    private String regionId;

    /**
     * oss地址
     */
    private String endpoint;

    /**
     * accessKeyId
     */
    private String accessKeyId;

    /**
     * accessKeySecret
     */
    private String accessKeySecret;

    /**
     * bucketName
     */
    private String bucketName;

    /**
     * 文件前缀
     */
    private String filePrefix;

    /**
     * 图片过滤
     */
    private List<String> imagesFilter;

    /**
     * 内容过滤
     */
    private List<String> textFilter;

}
